<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('项目设计工作联系函')" />
    <link th:href="@{/css/style1.css?v=20250815}" rel="stylesheet"/>
    <style type="text/css">
		body {
			overflow-x: auto;
		}
		@media print{
		   body {
		       height: auto !important;
		   }
		}
	</style>
</head>
 
<body>
	<!-- 打印网页时通过hidden-print隐藏元素 -->
	    <div class="text-right hidden-print">
	        <button class="btn btn-primary" onclick="printPage()"><i class="fa fa-print"></i> 打印</button>
	    </div>
    <h2 class="title">设计工作联系函/The Design Connects Function</h2>

    <div class="licence-tableBox">
        <table class="licence-table" border="1" cellpadding="0" cellspacing="0">
        	<input type="hidden" id="requestVo" name="requestVo" th:value="${sjProjectDesignFun.request}" />
            <tr>
                <td>项目名称/PROJECT</td><td colspan="3" class="text-left"><span th:text="${sjProjectDesignFun.projectName}"></span></td>
            </tr>
            <tr>
                <td>建设单位/ CLIENT</td><td colspan="3" class="text-left"><span th:text="${sjProjectDesignFun.clientName}"></span></td>
            </tr>
            <tr>
                <td width="25%">工程编号/JOB NO.</td>
                <td width="25%" class="text-left"><span th:text="${sjProjectDesignFun.orderNo}"></span></td>
                <td width="25%">函件编号/ FUNCTION NO.</td>
                <td width="25%" class="text-left"><span th:text="${sjProjectDesignFun.funNo}"></span></td>
            </tr>
            <tr>
                <td width="25%">发送人/SEND</td>
                <td width="25%" class="text-left"><span th:text="${sjProjectDesignFun.sender}"></span></td>
                <td width="25%">发送时间/SEND DATE</td>
                <td width="25%" class="text-left"><span th:text="${#dates.format(sjProjectDesignFun.sendAt, 'yyyy-MM-dd')}"></span></td>
            </tr>
            <tr>
                <td width="25%">项目负责人/ PROJECT CHIEF</td>
                <td width="25%" class="text-left"><span th:text="${sjProjectDesignFun.fzr}"></span></td>
                <td width="25%">审核/ IDENTIFIED</td>
                <td width="25%" class="text-left"><span th:text="${sjProjectDesignFun.spr}"></span></td>
            </tr>
            <tr>
                <td>请求/ REQUEST</td>
                <td colspan="3" class="text-left">
                    <label for="type1_1"><input type="checkbox" disabled="disabled" name="request" id="request_1">确认</label>
                    <label for="type1_2"><input type="checkbox" disabled="disabled" name="request" id="request_2">书面回复</label>
                    <label for="type1_3"><input type="checkbox" disabled="disabled" name="request" id="request_3">查阅</label>
                    <label for="type1_4"><input type="checkbox" disabled="disabled" name="request" id="request_4">其他</label>
                </td>
            </tr>
            <tr>
                <td colspan="4" class="text-left">
                    内容/ Content：<br/>
                    致：<span th:text="${sjProjectDesignFun.clientName}"></span>：
                    <div style="margin-top:10px;" th:utext="${sjProjectDesignFun.descs}"></div>
                    <br/><br/><br/><br/><br/><br/>
                    <!-- 落款 -->
                    <p class="p-signature">广东建筑艺术设计院有限公司（章）</p>
                </td>
            </tr>
            <tr>
                <td colspan="4" class="text-left">
                    <br/><br/><br/><br/><br/><br/>

                </td>
            </tr>
        </table>
    </div>
    <div class="tips">
       <span>公司联系方式：02787773585 /(传真)02787773586</span>
       <span class="text-right">投诉与建议：15629179321 胡经理</span>
    </div>
    
	<th:block th:include="include :: footer" />
    <script type="text/javascript">
        function printPage() {
            window.print();
        }
        
        $(function() {
        	//checkBox 选中
        	var requestCheck = $("#requestVo").val();
        	var data = requestCheck.split(",");
			for(var i=0;i<data.length;i++){
				$("#request_"+data[i]).attr("checked","true");
        	}
        	//checkBox 选中
        });
    </script>
</body>

</html>